package cn.com.css.taxInspection.gt3.mapper;

import cn.com.css.taxInspection.gt3.entity.JcDsrwTaskEntity;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface JcDsrwTaskMapper extends BaseMapper<JcDsrwTaskEntity> {

    @Select("SELECT * FROM kf_jicha_helper.jc_dsrw_task WHERE status = '1'")
    List<JcDsrwTaskEntity> selectAllEnabled();

    @Select("SELECT * FROM kf_jicha_helper.jc_dsrw_task WHERE uuid = #{uuid}")
    JcDsrwTaskEntity selectById(String uuid);

}
